package com.zhu.service.admin.service;

import com.zhu.service.admin.pojo.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhu.service.admin.pojo.vo.LoginVo;
import com.zhu.service.admin.pojo.vo.MemberVo;
import com.zhu.service.admin.pojo.vo.RegisterVo;

import javax.servlet.http.HttpSession;
import java.io.UnsupportedEncodingException;
import java.util.Map;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author zhu
 * @since 2022-08-17
 */
public interface IMemberService extends IService<Member> {

    String register(RegisterVo registerVo);

    Map<String, Object> login(LoginVo loginVo);


    String getUrl(HttpSession session) throws UnsupportedEncodingException;

    MemberVo getMember(String memberId);
}
